package com.example.tellwin.base;

/**
 * Created by wei.qt on 2017/9/15
 */

public class BaseResponse<T> {

    private static int SUCCESS_CODE = 1;//成功的code
    public boolean success;
    public String message;
    public T content;
    public String msg;
    public int code;

    public boolean isSuccess(){
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public T getContent() {
        return content;
    }

    public void setContent(T content) {
        this.content = content;
    }

}
